package com.bage.finance.biz.service;

import com.bage.finance.biz.domain.MemberBindWxOpenId;

public interface MemberBindWxOpenIdService {

    /**
     * 判断appid和openId是否存在
     * @param appId
     * @param openId
     * @return
     */
    MemberBindWxOpenId get(String appId, String openId);

    /**
     * 注册
     * @param appId
     * @param openId
     * @param memberId
     */
    boolean reg(String appId, String openId, long memberId);
}
